package com.tongji.housediy.controller
{
	import com.tongji.housediy.events.TypeXMLAdminEvent;
	import com.tongji.housediy.events.UpdateViewControlEvent;
	import com.tongji.housediy.model.ListTypeModel;
	import com.tongji.housediy.model.ViewControlModel;
	
	import org.robotlegs.mvcs.Command;
	
	/**
	 * 
	 * @author chenchao
	 * 
	 */
	public class UpdateLevel2FurnitureXMLCommand extends Command
	{
		[Inject]
		public var model:ListTypeModel;
		
		[Inject]
		public var event:TypeXMLAdminEvent;
		
		override public function execute():void
		{
			model.updateLevel2FurnitureList(event.selectedType);
		}
	}
}